<template>
    <div class="applyInfo3" >
        <div class="shareHeadClass" >
            <p class="colCLas"></p>
            <p class="info">申请信息</p>
        </div>
        <el-form
            :model="$store.state.invoice2.invoinceFormStart1"
            label-width="100px"
            class="formInline"
            size="small"
        >

        <!-- v-if="busType === ('FLOW_YFMLY')" -->
            <el-row >
                <el-col :span="12" >
                    <el-form-item label="申请操作" >
                        <el-radio v-model="radio" label="1">{{ applyType }}</el-radio>
                    </el-form-item>
                </el-col>
                <el-col :span="12" >
                    <el-form-item label="领用数量" v-if="busType === ('FLOW_YFMLY')" >
                        <el-input
                            :disabled="true"
                            v-model="$store.state.invoice2.busData.lysl"
                        ></el-input>
                    </el-form-item>
                </el-col>
                <el-col :span="11" v-if="busType === ('FLOW_XZSXED') || busType === ('FLOW_THSXED')">
                    <el-form-item label="申请金额" >
                        <el-input
                            :disabled="true"
                            v-model="$store.state.invoice2.busData.applyLimit"
                        ></el-input>
                    </el-form-item>
                </el-col>
                <el-col :span="1" v-if="busType === ('FLOW_XZSXED') || busType === ('FLOW_THSXED')">
                    <div style="height: 32px; line-height: 32px;">
                        元
                    </div>
                </el-col>
            </el-row>
            <el-row >

            </el-row>
        </el-form>
    </div>
</template>

<script>
export default {
    name: 'applyInfo3',
    props: ['busType'],
    data() {
        return {
            radio:"1"
        }
    },
    computed:{
        applyType(){
            let res = this.busType == 'FLOW_XZSXED'? "下载授信额度": this.busType == 'FLOW_THSXED'? "退回授信额度":  this.busType == 'FLOW_YFMLY' ? '预赋码领用' :""
            return res
        }
    }
}
</script>

<style lang = "scss" scoped>
.applyInfo3 {
    .formInline {
        width: 100%;
        :deep .el-form-item--small{ 
            margin-bottom: 4px;
        }
    }
}
</style>
